<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class ZPituitaryTelstatus extends Model
{
    //设置数据库链接
    // protected $connection = 'zz_med_mysql';
    protected $table = 'z_pituitary_telstatus';

    protected $guarded = ['id'];


    /**
     * 获取验证状态
     *
     *
     * @return array
     */
    public static function getGroupUserList()
    {

        return self::query()->from('z_pituitary_telstatus as pu')
        ->selectRaw('pu.update_at,pu.tel,pu.status')
        ->get()->toArray();
    }

}